package com.tm.model;

import java.math.BigDecimal;

public class SpOrder {
    private Integer id;

    private Integer memberInfoId;

    private Integer deliveryAddrId;

    private String orderId;

    private String clearCycle;

    private Integer couponsId;

    private String orderType;

    private String createTime;

    private String orderState;

    private String payState;

    private BigDecimal allAmount;

    private BigDecimal realAmount;

    private String payWay;

    private BigDecimal orderPoint;

    private Integer orderLimitTypeId;

    private String orderLimitDate;

    private BigDecimal orderLimitLength;

    private String orderLimitLengthUnit;

    private Integer auditUserId;

    private String auditTime;

    private Integer orderCancelReasonId;

    private String orderCancelNotes;

    private String orderCancelTime;

    private String orderCloseTime;

    private String orderCancelUser;

    private String orderCloseUser;

    private String orderCheckTime;

    private String paidTime;

    private BigDecimal orderLogisticFee;

    private BigDecimal orderInsuranceFee;

    private String paySerialNumber;

    private String ipAddress;

    private String waybillNumber;

    private String isDelete;

    private String addTime;

    private Integer addUserId;

    private String editTime;

    private Integer editUserId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemberInfoId() {
        return memberInfoId;
    }

    public void setMemberInfoId(Integer memberInfoId) {
        this.memberInfoId = memberInfoId;
    }

    public Integer getDeliveryAddrId() {
        return deliveryAddrId;
    }

    public void setDeliveryAddrId(Integer deliveryAddrId) {
        this.deliveryAddrId = deliveryAddrId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getClearCycle() {
        return clearCycle;
    }

    public void setClearCycle(String clearCycle) {
        this.clearCycle = clearCycle;
    }

    public Integer getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Integer couponsId) {
        this.couponsId = couponsId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getPayState() {
        return payState;
    }

    public void setPayState(String payState) {
        this.payState = payState;
    }

    public BigDecimal getAllAmount() {
        return allAmount;
    }

    public void setAllAmount(BigDecimal allAmount) {
        this.allAmount = allAmount;
    }

    public BigDecimal getRealAmount() {
        return realAmount;
    }

    public void setRealAmount(BigDecimal realAmount) {
        this.realAmount = realAmount;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public BigDecimal getOrderPoint() {
        return orderPoint;
    }

    public void setOrderPoint(BigDecimal orderPoint) {
        this.orderPoint = orderPoint;
    }

    public Integer getOrderLimitTypeId() {
        return orderLimitTypeId;
    }

    public void setOrderLimitTypeId(Integer orderLimitTypeId) {
        this.orderLimitTypeId = orderLimitTypeId;
    }

    public String getOrderLimitDate() {
        return orderLimitDate;
    }

    public void setOrderLimitDate(String orderLimitDate) {
        this.orderLimitDate = orderLimitDate;
    }

    public BigDecimal getOrderLimitLength() {
        return orderLimitLength;
    }

    public void setOrderLimitLength(BigDecimal orderLimitLength) {
        this.orderLimitLength = orderLimitLength;
    }

    public String getOrderLimitLengthUnit() {
        return orderLimitLengthUnit;
    }

    public void setOrderLimitLengthUnit(String orderLimitLengthUnit) {
        this.orderLimitLengthUnit = orderLimitLengthUnit;
    }

    public Integer getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(Integer auditUserId) {
        this.auditUserId = auditUserId;
    }

    public String getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(String auditTime) {
        this.auditTime = auditTime;
    }

    public Integer getOrderCancelReasonId() {
        return orderCancelReasonId;
    }

    public void setOrderCancelReasonId(Integer orderCancelReasonId) {
        this.orderCancelReasonId = orderCancelReasonId;
    }

    public String getOrderCancelNotes() {
        return orderCancelNotes;
    }

    public void setOrderCancelNotes(String orderCancelNotes) {
        this.orderCancelNotes = orderCancelNotes;
    }

    public String getOrderCancelTime() {
        return orderCancelTime;
    }

    public void setOrderCancelTime(String orderCancelTime) {
        this.orderCancelTime = orderCancelTime;
    }

    public String getOrderCloseTime() {
        return orderCloseTime;
    }

    public void setOrderCloseTime(String orderCloseTime) {
        this.orderCloseTime = orderCloseTime;
    }

    public String getOrderCancelUser() {
        return orderCancelUser;
    }

    public void setOrderCancelUser(String orderCancelUser) {
        this.orderCancelUser = orderCancelUser;
    }

    public String getOrderCloseUser() {
        return orderCloseUser;
    }

    public void setOrderCloseUser(String orderCloseUser) {
        this.orderCloseUser = orderCloseUser;
    }

    public String getOrderCheckTime() {
        return orderCheckTime;
    }

    public void setOrderCheckTime(String orderCheckTime) {
        this.orderCheckTime = orderCheckTime;
    }

    public String getPaidTime() {
        return paidTime;
    }

    public void setPaidTime(String paidTime) {
        this.paidTime = paidTime;
    }

    public BigDecimal getOrderLogisticFee() {
        return orderLogisticFee;
    }

    public void setOrderLogisticFee(BigDecimal orderLogisticFee) {
        this.orderLogisticFee = orderLogisticFee;
    }

    public BigDecimal getOrderInsuranceFee() {
        return orderInsuranceFee;
    }

    public void setOrderInsuranceFee(BigDecimal orderInsuranceFee) {
        this.orderInsuranceFee = orderInsuranceFee;
    }

    public String getPaySerialNumber() {
        return paySerialNumber;
    }

    public void setPaySerialNumber(String paySerialNumber) {
        this.paySerialNumber = paySerialNumber;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getWaybillNumber() {
        return waybillNumber;
    }

    public void setWaybillNumber(String waybillNumber) {
        this.waybillNumber = waybillNumber;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public Integer getEditUserId() {
        return editUserId;
    }

    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SpOrder other = (SpOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMemberInfoId() == null ? other.getMemberInfoId() == null : this.getMemberInfoId().equals(other.getMemberInfoId()))
            && (this.getDeliveryAddrId() == null ? other.getDeliveryAddrId() == null : this.getDeliveryAddrId().equals(other.getDeliveryAddrId()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getClearCycle() == null ? other.getClearCycle() == null : this.getClearCycle().equals(other.getClearCycle()))
            && (this.getCouponsId() == null ? other.getCouponsId() == null : this.getCouponsId().equals(other.getCouponsId()))
            && (this.getOrderType() == null ? other.getOrderType() == null : this.getOrderType().equals(other.getOrderType()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getOrderState() == null ? other.getOrderState() == null : this.getOrderState().equals(other.getOrderState()))
            && (this.getPayState() == null ? other.getPayState() == null : this.getPayState().equals(other.getPayState()))
            && (this.getAllAmount() == null ? other.getAllAmount() == null : this.getAllAmount().equals(other.getAllAmount()))
            && (this.getRealAmount() == null ? other.getRealAmount() == null : this.getRealAmount().equals(other.getRealAmount()))
            && (this.getPayWay() == null ? other.getPayWay() == null : this.getPayWay().equals(other.getPayWay()))
            && (this.getOrderPoint() == null ? other.getOrderPoint() == null : this.getOrderPoint().equals(other.getOrderPoint()))
            && (this.getOrderLimitTypeId() == null ? other.getOrderLimitTypeId() == null : this.getOrderLimitTypeId().equals(other.getOrderLimitTypeId()))
            && (this.getOrderLimitDate() == null ? other.getOrderLimitDate() == null : this.getOrderLimitDate().equals(other.getOrderLimitDate()))
            && (this.getOrderLimitLength() == null ? other.getOrderLimitLength() == null : this.getOrderLimitLength().equals(other.getOrderLimitLength()))
            && (this.getOrderLimitLengthUnit() == null ? other.getOrderLimitLengthUnit() == null : this.getOrderLimitLengthUnit().equals(other.getOrderLimitLengthUnit()))
            && (this.getAuditUserId() == null ? other.getAuditUserId() == null : this.getAuditUserId().equals(other.getAuditUserId()))
            && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime()))
            && (this.getOrderCancelReasonId() == null ? other.getOrderCancelReasonId() == null : this.getOrderCancelReasonId().equals(other.getOrderCancelReasonId()))
            && (this.getOrderCancelNotes() == null ? other.getOrderCancelNotes() == null : this.getOrderCancelNotes().equals(other.getOrderCancelNotes()))
            && (this.getOrderCancelTime() == null ? other.getOrderCancelTime() == null : this.getOrderCancelTime().equals(other.getOrderCancelTime()))
            && (this.getOrderCloseTime() == null ? other.getOrderCloseTime() == null : this.getOrderCloseTime().equals(other.getOrderCloseTime()))
            && (this.getOrderCancelUser() == null ? other.getOrderCancelUser() == null : this.getOrderCancelUser().equals(other.getOrderCancelUser()))
            && (this.getOrderCloseUser() == null ? other.getOrderCloseUser() == null : this.getOrderCloseUser().equals(other.getOrderCloseUser()))
            && (this.getOrderCheckTime() == null ? other.getOrderCheckTime() == null : this.getOrderCheckTime().equals(other.getOrderCheckTime()))
            && (this.getPaidTime() == null ? other.getPaidTime() == null : this.getPaidTime().equals(other.getPaidTime()))
            && (this.getOrderLogisticFee() == null ? other.getOrderLogisticFee() == null : this.getOrderLogisticFee().equals(other.getOrderLogisticFee()))
            && (this.getOrderInsuranceFee() == null ? other.getOrderInsuranceFee() == null : this.getOrderInsuranceFee().equals(other.getOrderInsuranceFee()))
            && (this.getPaySerialNumber() == null ? other.getPaySerialNumber() == null : this.getPaySerialNumber().equals(other.getPaySerialNumber()))
            && (this.getIpAddress() == null ? other.getIpAddress() == null : this.getIpAddress().equals(other.getIpAddress()))
            && (this.getWaybillNumber() == null ? other.getWaybillNumber() == null : this.getWaybillNumber().equals(other.getWaybillNumber()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getAddUserId() == null ? other.getAddUserId() == null : this.getAddUserId().equals(other.getAddUserId()))
            && (this.getEditTime() == null ? other.getEditTime() == null : this.getEditTime().equals(other.getEditTime()))
            && (this.getEditUserId() == null ? other.getEditUserId() == null : this.getEditUserId().equals(other.getEditUserId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMemberInfoId() == null) ? 0 : getMemberInfoId().hashCode());
        result = prime * result + ((getDeliveryAddrId() == null) ? 0 : getDeliveryAddrId().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getClearCycle() == null) ? 0 : getClearCycle().hashCode());
        result = prime * result + ((getCouponsId() == null) ? 0 : getCouponsId().hashCode());
        result = prime * result + ((getOrderType() == null) ? 0 : getOrderType().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getOrderState() == null) ? 0 : getOrderState().hashCode());
        result = prime * result + ((getPayState() == null) ? 0 : getPayState().hashCode());
        result = prime * result + ((getAllAmount() == null) ? 0 : getAllAmount().hashCode());
        result = prime * result + ((getRealAmount() == null) ? 0 : getRealAmount().hashCode());
        result = prime * result + ((getPayWay() == null) ? 0 : getPayWay().hashCode());
        result = prime * result + ((getOrderPoint() == null) ? 0 : getOrderPoint().hashCode());
        result = prime * result + ((getOrderLimitTypeId() == null) ? 0 : getOrderLimitTypeId().hashCode());
        result = prime * result + ((getOrderLimitDate() == null) ? 0 : getOrderLimitDate().hashCode());
        result = prime * result + ((getOrderLimitLength() == null) ? 0 : getOrderLimitLength().hashCode());
        result = prime * result + ((getOrderLimitLengthUnit() == null) ? 0 : getOrderLimitLengthUnit().hashCode());
        result = prime * result + ((getAuditUserId() == null) ? 0 : getAuditUserId().hashCode());
        result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode());
        result = prime * result + ((getOrderCancelReasonId() == null) ? 0 : getOrderCancelReasonId().hashCode());
        result = prime * result + ((getOrderCancelNotes() == null) ? 0 : getOrderCancelNotes().hashCode());
        result = prime * result + ((getOrderCancelTime() == null) ? 0 : getOrderCancelTime().hashCode());
        result = prime * result + ((getOrderCloseTime() == null) ? 0 : getOrderCloseTime().hashCode());
        result = prime * result + ((getOrderCancelUser() == null) ? 0 : getOrderCancelUser().hashCode());
        result = prime * result + ((getOrderCloseUser() == null) ? 0 : getOrderCloseUser().hashCode());
        result = prime * result + ((getOrderCheckTime() == null) ? 0 : getOrderCheckTime().hashCode());
        result = prime * result + ((getPaidTime() == null) ? 0 : getPaidTime().hashCode());
        result = prime * result + ((getOrderLogisticFee() == null) ? 0 : getOrderLogisticFee().hashCode());
        result = prime * result + ((getOrderInsuranceFee() == null) ? 0 : getOrderInsuranceFee().hashCode());
        result = prime * result + ((getPaySerialNumber() == null) ? 0 : getPaySerialNumber().hashCode());
        result = prime * result + ((getIpAddress() == null) ? 0 : getIpAddress().hashCode());
        result = prime * result + ((getWaybillNumber() == null) ? 0 : getWaybillNumber().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getAddUserId() == null) ? 0 : getAddUserId().hashCode());
        result = prime * result + ((getEditTime() == null) ? 0 : getEditTime().hashCode());
        result = prime * result + ((getEditUserId() == null) ? 0 : getEditUserId().hashCode());
        return result;
    }
}